@extends('layouts.app', ['activePage' => 'extended', 'menuParent' => 'endereco', 'titlePage' => __('Adicionar Endereço')])

@section('content')
    <div class="content">
        <div class="container-fluid">
            <div class="row">

                <div class="col-md-12">
                    <div class="card ">
                        <div class="card-header card-header-rose card-header-text">
                            <div class="card-text">
                                <h4 class="card-title">Adicionar Endereço</h4>
                            </div>
                        </div>
                        <div class="card-body ">
                            {!! Form::open(['route'=>'dash.endereco.store','class'=>'form-horizontal']) !!}

                            <div class="row">
                                <label class="col-sm-2 col-form-label">Nome</label>
                                <div class="col-sm-10">
                                    <div class="form-group">
                                        <input type="text" class="form-control" name="name">
                                        <span class="bmd-help">Nome</span>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <label class="col-sm-2 col-form-label">Categorias</label>
                                <div class="col-sm-10">
                                    <div class="form-group">
                                        <input type="text" class="form-control" name="category">
                                        <span class="bmd-help">Categorias</span>
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <label class="col-sm-2 col-form-label">Base 64</label>
                                <div class="col-sm-10">
                                    <div class="form-group">
                                        <textarea name="b64" id="editor" cols="30" rows="10"
                                                  class="form-control"></textarea>
                                    </div>
                                </div>
                            </div>

                            <div class="card-footer">
                                <button type="submit" class="btn btn-fill btn-rose">Enviar</button>
                            </div>
                            {!! Form::close() !!}
                        </div>
                    </div>
                </div>


            </div>
        </div>
    </div>
@endsection

@push('js')
@endpush